package top.littleze.aiattendance.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.littleze.aiattendance.entity.AttendanceSCEntity;
import top.littleze.aiattendance.entity.AttendanceStudentEntity;

import java.util.List;

@Mapper
public interface AttendanceSCEntityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AttendanceSCEntity record);

    int insertSelective(AttendanceSCEntity record);

    AttendanceSCEntity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AttendanceSCEntity record);

    int updateByPrimaryKey(AttendanceSCEntity record);




    List<AttendanceStudentEntity> queryStudentList(@Param("courseId") String courseId);

    int deleteByCourseID(@Param("courseId") String courseId);


    List<AttendanceSCEntity> queryCourseStudentList(@Param("teacherId") String teacherId);
}